import request from '@/utils/request';
//获取课程评价列表
export function getCourseRateList(data) {
  return request({
    url: '/business/course/getCommentPage',
    method: 'post',
    data:data
  })
}

//修改课程评价
export function updateCourseRate(data) {
  return request({
    url: '/business/course/editCourseComment',
    method: 'put',
    data:data
  })
}
